package com.usefullc.demo.param;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.common.enums.ValidTypeEnum;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 测试1参数实体
 * @author: 星空
 * @date: 20220622
 */
@ApiModel
@Data
public class Test1Param extends BaseDomain {

    @ApiModelProperty(notes = "ID")
    private Long id;
    
    //useful_auto_generate_section_start

    @UsefulPropertyVerify(minLen=2, required=true, maxLen=10)
    @ApiModelProperty(notes = "名称")
    private String name;

    @UsefulPropertyVerify(min=0, max=3, required=true)
    @ApiModelProperty(notes = "状态")
    private Integer status;

    @UsefulPropertyVerify(minLen=2, type=ValidTypeEnum.EMAIL, maxLen=32)
    @ApiModelProperty(notes = "邮箱")
    private String email;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "职务")
    private Long positionId;

    @UsefulPropertyVerify(min=0, max=180, required=true)
    @ApiModelProperty(notes = "年龄")
    private Integer age;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "部门")
    private Long deptId;

    @UsefulPropertyVerify(minLen=2, maxLen=1000)
    @ApiModelProperty(notes = "描述")
    private String description;

    @UsefulPropertyVerify(minLen=2, maxLen=320)
    @ApiModelProperty(notes = "描述3")
    private String description3;


//useful_auto_generate_section_end

}
